home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.n
/
frame.n
< prev
next >
Wrap
Text File
|
1995-07-25
|
8KB
|
198 lines
ffffrrrraaaammmmeeee((((nnnn)))) TTTTkkkk (((( )))) ffffrrrraaaammmmeeee((((nnnn))))
_________________________________________________________________
NNNNAAAAMMMMEEEE
frame - Create and manipulate frame widgets
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ffffrrrraaaammmmeeee _p_a_t_h_N_a_m_e ?----ccccllllaaaassssssss _c_l_a_s_s_N_a_m_e? ?_o_p_t_i_o_n_s?
SSSSTTTTAAAANNNNDDDDAAAARRRRDDDD OOOOPPPPTTTTIIIIOOOONNNNSSSS
bbbbaaaacccckkkkggggrrrroooouuuunnnndddd ccccuuuurrrrssssoooorrrr rrrreeeelllliiiieeeeffff |
bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh ggggeeeeoooommmmeeeettttrrrryyyy
See the ``options'' manual entry for details on the standard
options.
WWWWIIIIDDDDGGGGEEEETTTT----SSSSPPPPEEEECCCCIIIIFFFFIIIICCCC OOOOPPPPTTTTIIIIOOOONNNNSSSS
Name: hhhheeeeiiiigggghhhhtttt |
Class: HHHHeeeeiiiigggghhhhtttt |
Command-Line Switch: ----hhhheeeeiiiigggghhhhtttt |
||
Specifies the desired height for the window in any of |
the forms acceptable to TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss. This option is |
only used if the ----ggggeeeeoooommmmeeeettttrrrryyyy option is unspecified. If |
this option is less than or equal to zero (and |
----ggggeeeeoooommmmeeeettttrrrryyyy is not specified) then the window will not |
request any size at all. |
Name: wwwwiiiiddddtttthhhh |
Class: WWWWiiiiddddtttthhhh |
Command-Line Switch: ----wwwwiiiiddddtttthhhh |
||
Specifies the desired width for the window in any of |
the forms acceptable to TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss. This option is |
only used if the ----ggggeeeeoooommmmeeeettttrrrryyyy option is unspecified. If |
this option is less than or equal to zero (and |
----ggggeeeeoooommmmeeeettttrrrryyyy is not specified) then the window will not |
request any size at all.
_________________________________________________________________
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The ffffrrrraaaammmmeeee command creates a new window (given by the
_p_a_t_h_N_a_m_e argument) and makes it into a frame widget.
Additional options, described above, may be specified on the
command line or in the option database to configure aspects
of the frame such as its background color and relief. The
ffffrrrraaaammmmeeee command returns the path name of the new window.
A frame is a simple widget. Its primary purpose is to act
as a spacer or container for complex window layouts. The
Page 1 (printed 7/23/95)
ffffrrrraaaammmmeeee((((nnnn)))) TTTTkkkk (((( )))) ffffrrrraaaammmmeeee((((nnnn))))
only features of a frame are its background color and an
optional 3-D border to make the frame appear raised or
sunken.
In addition to the standard options listed above, a ----ccccllllaaaassssssss
option may be specified on the command line. If it is
specified, then the new widget's class will be set to
_c_l_a_s_s_N_a_m_e instead of FFFFrrrraaaammmmeeee. Changing the class of a frame
widget may be useful in order to use a special class name in
database options referring to this widget and its children.
Note: ----ccccllllaaaassssssss is handled differently than other command-line
options and cannot be specified using the option database
(it has to be processed before the other options are even
looked up, since the new class name will affect the lookup
of the other options). In addition, the ----ccccllllaaaassssssss option may
not be queried or changed using the ccccoooonnnnffffiiiigggg command described
below.
WWWWIIIIDDDDGGGGEEEETTTT CCCCOOOOMMMMMMMMAAAANNNNDDDD
The ffffrrrraaaammmmeeee command creates a new Tcl command whose name is
the same as the path name of the frame's window. This
command may be used to invoke various operations on the
widget. It has the following general form:
_p_a_t_h_N_a_m_e _o_p_t_i_o_n ?_a_r_g _a_r_g ...?
_P_a_t_h_N_a_m_e is the name of the command, which is the same as
the frame widget's path name. _O_p_t_i_o_n and the _a_r_gs determine
the exact behavior of the command. The following commands
are possible for frame widgets:
_p_a_t_h_N_a_m_e ccccoooonnnnffffiiiigggguuuurrrreeee ?_o_p_t_i_o_n? ?_v_a_l_u_e _o_p_t_i_o_n _v_a_l_u_e ...?
Query or modify the configuration options of the
widget. If no _o_p_t_i_o_n is specified, returns a list
describing all of the available options for _p_a_t_h_N_a_m_e
(see TTTTkkkk____CCCCoooonnnnffffiiiigggguuuurrrreeeeIIIInnnnffffoooo for information on the format of
this list). If _o_p_t_i_o_n is specified with no _v_a_l_u_e, then
the command returns a list describing the one named
option (this list will be identical to the
corresponding sublist of the value returned if no
_o_p_t_i_o_n is specified). If one or more _o_p_t_i_o_n-_v_a_l_u_e
pairs are specified, then the command modifies the
given widget option(s) to have the given value(s); in
this case the command returns an empty string. _O_p_t_i_o_n
may have any of the values accepted by the ffffrrrraaaammmmeeee
command.
BBBBIIIINNNNDDDDIIIINNNNGGGGSSSS
When a new frame is created, it has no default event
bindings: frames are not intended to be interactive.
Page 2 (printed 7/23/95)
ffffrrrraaaammmmeeee((((nnnn)))) TTTTkkkk (((( )))) ffffrrrraaaammmmeeee((((nnnn))))
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
frame, widget
Page 3 (printed 7/23/95)